Skip to content

feat: add nuxt-zod module (nuxt#1474)#1475

Open
DarlanPrado wants to merge 20 commits into
nuxt:mainfrom
DarlanPrado:main
Open

feat: add nuxt-zod module (nuxt#1474)#1475
DarlanPrado wants to merge 20 commits into
nuxt:mainfrom
DarlanPrado:main

Conversation

@DarlanPrado
Copy link
Copy Markdown
Contributor

🔗 Linked issue

Resolves #1474

📚 Description

Add the nuxt-zod module to the list of nuxt modules.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 12, 2026

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9d9667aa-66e1-4a96-b968-74d090ef62e5

📥 Commits

Reviewing files that changed from the base of the PR and between a33643d and 7cdb804.

📒 Files selected for processing (1)
  • modules/nuxt-meta-pixel.yml

📝 Walkthrough

Walkthrough

This PR adds module metadata for nuxt-zod, a Nuxt module that integrates Zod validation with auto-imported composables and server-side support. A new YAML entry defines the module's name, repository, npm package, documentation links, maintainer information, and specifies Nuxt compatibility (>=3.0.0). Additionally, the PR updates a maintainer name in an existing module listing from Tanuki to erwann.dev.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR includes an unrelated change to modules/nuxt-meta-pixel.yml updating a maintainer name, which is out of scope for the nuxt-zod module listing objective. Remove the unrelated change to nuxt-meta-pixel.yml maintainer name, or create a separate PR for that modification to keep changes focused on the nuxt-zod module listing.
Linked Issues check ❓ Inconclusive The PR adds the nuxt-zod module metadata file as requested in #1474, fulfilling the module listing requirement. However, the metadata file lacks detailed feature documentation mentioned in the issue. Verify that the module metadata in nuxt-zod.yml contains sufficient information to represent the key features and capabilities described in issue #1474, or confirm this is expected for module listing entries.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding the nuxt-zod module to the modules list, and references the linked issue.
Description check ✅ Passed The description clearly states the purpose of adding the nuxt-zod module and references the linked issue #1474.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🧹 Nitpick comments (1)
modules/nuxt-zod.yml (1)

7-8: 💤 Low value

Consider adding dedicated documentation links.

The website field currently points to the GitHub repository (same as github field), and learn_more is empty. Consider:

  • Adding a link to the module's documentation in the learn_more field
  • If dedicated documentation exists, use it for the website field instead of duplicating the GitHub URL
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@modules/nuxt-zod.yml` around lines 7 - 8, Update the metadata in
modules/nuxt-zod.yml so the website and learn_more fields point to the module
documentation rather than duplicating the GitHub URL: if there is a dedicated
docs site or README URL, set website to that docs URL (replace the current
website value "https://github.com/DarlanPrado/nuxt-zod") and populate learn_more
with a direct link to the API/usage docs or README; if no separate docs site
exists, set learn_more to the repository README URL and leave website as the
canonical site you prefer to present.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@modules/nuxt-zod.yml`:
- Line 1: The file contains Windows-style CRLF line endings (YAML lint expects
LF); update the file so that the "name: nuxt-zod" line and the file overall use
Unix-style LF line endings instead of CRLF—e.g., convert line endings for
modules/nuxt-zod.yml (the "name: nuxt-zod" entry) to LF, commit the change, and
ensure your editor or .gitattributes enforces LF for .yml files to prevent
regressions.
- Line 2: Update the module description string to match the declared
compatibility (>=3.0.0) by changing the "description: Zod integration for Nuxt 4
with a simple composable." line to a version-neutral or explicit range phrasing
(e.g., "Zod integration for Nuxt 3 and 4 with a simple composable" or "Zod
integration for Nuxt (>=3.0.0) with a simple composable"); ensure the change is
applied to the description field in modules/nuxt-zod.yml so the text and
compatibility metadata are consistent.

---

Nitpick comments:
In `@modules/nuxt-zod.yml`:
- Around line 7-8: Update the metadata in modules/nuxt-zod.yml so the website
and learn_more fields point to the module documentation rather than duplicating
the GitHub URL: if there is a dedicated docs site or README URL, set website to
that docs URL (replace the current website value
"https://github.com/DarlanPrado/nuxt-zod") and populate learn_more with a direct
link to the API/usage docs or README; if no separate docs site exists, set
learn_more to the repository README URL and leave website as the canonical site
you prefer to present.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2fa31168-b11c-47b9-9a79-056ad6589259

📥 Commits

Reviewing files that changed from the base of the PR and between 6419c97 and 2dbdaa8.

⛔ Files ignored due to path filters (1)
  • icons/nuxt-zod.svg is excluded by !**/*.svg
📒 Files selected for processing (1)
  • modules/nuxt-zod.yml

Comment thread modules/nuxt-zod.yml Outdated
Comment thread modules/nuxt-zod.yml Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Module Listing Request]: nuxt-zod

2 participants